package com.hu.pk.patroller.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yellow doctor
 * @date 2022-07-20
 * @desc
 */
@FeignClient("patroller-service")
public interface PatrollerClient {

    @GetMapping("/patroller")
     Long selectRoadIdByPatrollerName(@RequestParam("patrollerName") String patrollerName);

}
